﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RG.Common.Provider;
using Microsoft.Practices.Unity;
using RG.Common;

namespace RG.Frames
{
    public static class IUnityContainer_RGExtrension
    {
        public static IUnityContainer RG_Frames(this IUnityContainer cfg)
        {
            cfg
                .RegisterType<IView<ApartmentsFrameVM>, ApartmentsFrame>()
                .RegisterType<IView<ManagersFrameVM>, ManagersFrame>()
                .RegisterType<IView<MicroAreasFrameVM>, MicroAreasFrame>()
               
                ;

            return cfg;
        }
    }
}
